<?php /* Smarty version 2.6.18, created on 2016-11-30 09:44:41
         compiled from grade/graduate.list.tpl.php */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index.header.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index.left.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<!--主要内容开始-->
  <div class="content-wrapper">
    <section class="content">
      <div class="row">
        <section class="col-lg-12 connectedSortable">
         <div class="box box-default box-solid">
             <form name="myform" action="" method="get">
                <div class="box-header with-border">
                    <span class="fa fa-pencil" style="float:left; font-size:18px; padding-top:3px; color:#3c8dbc;" ></span>
                    <p class="box-title">毕业登记</p>
                    <a href="index.php?a=graduate.in" class="btn btn-primary btn-sm" style="float:right; margin-left:8px; margin-right:8px;">批量导入</a>
                    <a href="index.php?a=graduate.graduatedown" class="btn btn-success btn-sm" style="float:right">下载模板</a>
                    <!--<a href="index.php?a=graduate.graduateAdd" class="btn btn-primary btn-sm" style="float:right; margin-left:8px;">新增</a>-->
                </div>
                    <div class="box-body">
				
					<div class="col-md-3 form-group">
						  <label class="col-md-5 control-label text-right" style="padding-right:0; padding-left:0; font-weight:500; margin:0;">
							    姓名：
						  </label>
						  <div class="input-group col-md-7 col-xs-12">
							 <input type="text" class="form-control" name="graduate_name" value="<?php echo $this->_tpl_vars['graduate_name']; ?>
">
						  </div> 
				    </div>
                    <div class="col-md-3 form-group">
						  <label class="col-md-5 control-label text-right" style="padding-right:0; padding-left:0; font-weight:500; margin:0;">
							    学籍号：
						  </label>
						  <div class="input-group col-md-7 col-xs-12">
							   <input type="text" class="form-control" name="graduate_num" value="<?php echo $this->_tpl_vars['graduate_num']; ?>
">
						  </div> 
				    </div>
					<div class="col-md-1 col-xs-12">
					   <input type="hidden" name="a" value="graduate.graduatelist">
					   <input type="hidden" name="class_id" value="<?php echo $this->_tpl_vars['class_id']; ?>
">
					   <button type="submit" class="btn btn-warning">查 询</button>
					</div>
					
                    <div style="clear:both; height:6px;"></div>
                      <div style="width:100%; overflow-x:scroll;"> 
                        <table class="table table-bordered table-striped" id="mytable">
                           <thead>   
                             <tr> 
							    <td>学号</td>
								<td>姓名</td>
								<td>学籍号</td>
                                <td>毕业证书号</td>
								<td>毕业类型</td>
								<td>就读学校</td>
								<?php $_from = $this->_tpl_vars['class_data']['subject_name']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
								<td><?php echo $this->_tpl_vars['value']; ?>
</td>
								<?php endforeach; endif; unset($_from); ?>
								<td>总分</td>
								<td>毕业评语</td>
								<td>备注</td>
								<td width="110">操作</td>
							 </tr>
                         </thead>
						 <?php $_from = $this->_tpl_vars['graduate_lists']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
                             <tr>
							    <td><?php echo $this->_tpl_vars['value']['graduate_no']; ?>
</td>
								<td><?php echo $this->_tpl_vars['value']['graduate_name']; ?>
</td>
								<td><?php echo $this->_tpl_vars['value']['graduate_num']; ?>
</td>
                                <td><?php echo $this->_tpl_vars['value']['graduate_certificate']; ?>
</td>
								<td><?php echo $this->_tpl_vars['value']['graduate_type']; ?>
</td>
								<td><?php echo $this->_tpl_vars['value']['graduate_school']; ?>
</td>
								<?php $_from = $this->_tpl_vars['value']['graduate_subject']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
									<td><?php echo $this->_tpl_vars['v']; ?>
</td>
								<?php endforeach; endif; unset($_from); ?>
								<td><?php echo $this->_tpl_vars['value']['graduate_count']; ?>
</td>
								<td><?php echo $this->_tpl_vars['value']['graduate_content']; ?>
</td>
								<td><?php echo $this->_tpl_vars['value']['graduate_remark']; ?>
</td>
                                <td>
                                     <a href="index.php?a=graduate.graduateupdate&graduate_id=<?php echo $this->_tpl_vars['value']['graduate_id']; ?>
&class_id=<?php echo $this->_tpl_vars['class_id']; ?>
" class="btn btn-warning btn-sm" title="修改"><i class="fa fa-edit (alias)"></i></a>
								     <a href="index.php?a=graduate.graduatedel&graduate_id=<?php echo $this->_tpl_vars['value']['graduate_id']; ?>
&class_id=<?php echo $this->_tpl_vars['class_id']; ?>
" class="btn btn-danger btn-sm" onclick="if(confirm('警告！确认删除信息?')==false)return false;" title="删除"> <i class="fa fa-trash"></i></a>
                                </td>
							 </tr>
							<?php endforeach; endif; unset($_from); ?>
						 </table>
                       </div>
						 <?php echo $this->_tpl_vars['page']; ?>

				    </div><!--box-body -->
				 </form>
           </div><!--box box-default box-solid-->
        
           
        </div><!--row-->

 </div>
  <!--主要内容结束-->

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index.footer.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>